package models

import "github.com/astaxie/beego/orm"

type User struct {
	Id int
	Parent_id int
	Open_code string
	Nickname string
	Mobile string
	Password string
	Money string
	Recharge_amount string
	Pending_amount string
	Is_disabled int
	App_platform string
	App_version string
	Open_id string
	Is_channel int
	Link int
	Client_ip string
	App_channel string
	Osversion string
	Device_code string
	Ios_token string
	Android_token string
	Avatar string
	Image_id int
	Unionid string
	Integral int
	Cancel int
	Created_at string
	Updated_at string
}

func init()  {
	//orm.RegisterModel(new(User))
	orm.RegisterModelWithPrefix("yk_", new(User))
}
